package com.lshlmy.gateway.controller;

import com.lshlmy.gateway.service.ITestService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author : xiangming.liang
 * @since : 2022/6/1
 */
@Slf4j
@RestController
@RequestMapping("test")
public class TestController {

    @Autowired
    private ITestService testServiceImpl;

    @RequestMapping("listMsg")
    public Object listMsg() {
        log.info("测试日志123");
        return testServiceImpl.listMsg();
    }

}
